#downloadManager {
  background-color: #EEE;
}

/* Download View */
#downloadView {
  -moz-appearance: none;
  border: 1px solid #666;
  margin: 10px 10px 5px 10px;
}

/* Download Manager Command Bar */
#downloadManager > #search {
  margin: 0px 7px 6px 5px;
}

#clearListButton:not([disabled="true"]),
#cleanUpButton:not([disabled="true"]) {
  list-style-image: url("chrome://mozapps/skin/downloads/downloadcleanup.png");
}

#clearListButton[disabled="true"],
#cleanUpButton[disabled="true"] {
  list-style-image: url("chrome://mozapps/skin/downloads/downloadcleanupdisabled.png");
}

/* Download View Items */
richlistitem[type="download"],
download {
  padding: 8px;
  min-height: 46px;
  border-bottom: 1px dashed #AAA;
}

richlistitem[type="download"][selected="true"] {
  background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png);
}

richlistitem[type="download"] .name {
  font-weight: bold;
}

richlistitem[type="download"] .dateTime {
  font-size: smaller;
}

.downloadTypeIcon {
  -moz-margin-end: 10px;
}

/* mini buttons */

.mini-button {
  -moz-appearance: none;
  list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png);
  background-color: transparent;
  border: none;
  padding: 0px;
  margin: 0px;
  min-width: 0px;
  min-height: 0px;
}

.mini-button > .button-box {
  padding: 0px !important;
  border: none;
  outline: none;
}

.cancel {
  -moz-image-region: rect(0px, 20px, 10px, 10px);
}
.cancel:hover,
.cancel:active {
  -moz-image-region: rect(10px, 20px, 20px, 10px);
}
.cancel[disabled="true"] {
  -moz-image-region: rect(20px, 20px, 30px, 10px);
}

.pause {
  -moz-image-region: rect(0px, 30px, 10px, 20px);
}
.pause:hover,
.pause:active {
  -moz-image-region: rect(10px, 30px, 20px, 20px);
}
.pause[disabled="true"] {
  -moz-image-region: rect(20px, 30px, 30px, 20px);
}

.resume {
  -moz-image-region: rect(0px, 10px, 10px, 0px);
}
.resume:hover,
.resume:active {
  -moz-image-region: rect(10px, 10px, 20px, 0px);
}
.resume[disabled="true"] {
  -moz-image-region: rect(20px, 10px, 30px, 0px);
}

.retry {
  -moz-image-region: rect(0px, 40px, 10px, 30px);
}
.retry:hover,
.retry:active {
  -moz-image-region: rect(10px, 40px, 20px, 30px);
}
.retry[disabled="true"] {
  -moz-image-region: rect(20px, 40px, 30px, 30px);
}

.blockedIcon {
  list-style-image: url(chrome://global/skin/icons/error.png);
}

/* prevent flickering when changing states */
.downloadTypeIcon {
  min-height: 32px;
  min-width: 32px;
}

#clearListButton {
  min-height: 0px;
  min-width: 0px;
  margin-top: 3px;
}
